﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AvatarHelper;
using Avatar.Model;

public partial class UserControl_Default_News : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //News_Class.DataSource = DBHelper.GetAll<Article_Class>("获取新闻列表分类出错：").Take(3);
        //News_Class.DataBind();

        //news_ClassLeft.DataSource = DBHelper.GetAll<Article_Content>(ac => ac.Pid != 1, "").Take(1);
        //news_ClassLeft.DataBind();

        //news_ClassRight.DataSource = DBHelper.GetAll<Article_Content>(ac => ac.Pid != 1, "").Take(10);
        //news_ClassRight.DataBind();
    }
}
